a nice math olympaid exponential problem